package com.example.demo.entity;

import lombok.Data;

import java.util.Vector;

@Data
public class FileNode {
//    private String id;
    private Boolean dir;
    private String name;
    private Vector<FileNode> childNodes;

    public Boolean getDir() {
        return dir;
    }

    public void setDir(Boolean dir) {
        this.dir = dir;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Vector<FileNode> getChildNodes() {
        return childNodes;
    }

    public void setChildNodes(Vector<FileNode> childNodes) {
        this.childNodes = childNodes;
    }
}
